	<div id="sidebar"><div id="sidebar-wrapper"> <!-- Sidebar with logo and menu -->
			
			<h1 id="sidebar-title"><a href="#">Simpla Admin</a></h1>
		  
			<!-- Logo (221px wide) -->
			<a href="#"><img id="logo" src="/resources/images/logo.png" alt="哈途工作室出品" /></a>
		  
			<!-- Sidebar Profile links -->
			<div id="profile-links">
			<?php 
			$sess = $this->session->all_userdata();					
			?>
				Hello, <a href="#" title="Edit your profile"><?php echo $sess['username'];?></a>, 站内消息 <a href="#messages" rel="modal" title="3 Messages">0条</a><br />
				<br />
				<a href="/" title="View the Site" target="_blank">查看网站</a> | 
				<?php echo anchor('sysadmin/admins/logout', '退出登录'); ?>
				
			</div>        
			
			<ul id="main-nav">  <!-- Accordion Menu -->
				
				<li>
					<a href="http://www.haaway.com" target="_blank" class="nav-top-item no-submenu"> <!-- Add the class "no-submenu" to menu items with no sub menu -->
						直达-&gt;哈途工作室
					</a>       
				</li>
				
				<li> 
					<a href="#" class="nav-top-item<?php if(isset($list_current) && $list_current[0]=='article') echo ' current' ?>"> <!-- Add the class "current" to current menu item -->
					文章管理
					</a>
					<ul>
						<li><?php echo anchor('sysadmin/article', '管理', array('class'=>((isset($list_current)&& $list_current[1]=='article') ? 'current' : '')));?></li> <!-- Add class "current" to sub menu items also -->
						<li><?php echo anchor('sysadmin/comment', '评论', array('class'=>((isset($list_current)&& $list_current[1]=='comment') ? 'current' : '')));?></li>
						<li><?php echo anchor('sysadmin/articletype', '文章类别', array('class'=>((isset($list_current)&& $list_current[1]=='articletype') ? 'current' : '')));?></li>
					</ul>
				</li>
				<li> 
					<a href="#" class="nav-top-item<?php if(isset($list_current) && $list_current[0]=='product') echo ' current' ?>"> <!-- Add the class "current" to current menu item -->
					产品管理
					</a>
					<ul>
						<li><?php echo anchor('sysadmin/product', '管理', array('class'=>((isset($list_current)&& $list_current[1]=='product') ? 'current' : '')));?></li> <!-- Add class "current" to sub menu items also -->
						<li><?php echo anchor('sysadmin/producttype', '分类', array('class'=>((isset($list_current)&& $list_current[1]=='producttype') ? 'current' : '')));?></li>
					</ul>
				</li>
				<li> 
					<a href="#" class="nav-top-item<?php if(isset($list_current) && $list_current[0]=='sysset') echo ' current' ?>"> <!-- Add the class "current" to current menu item -->
					系统设置
					</a>
					<ul>
						<li><?php echo anchor('sysadmin/sysset', '设置', array('class'=>((isset($list_current)&& $list_current[1]=='sysset') ? 'current' : '')));?></li> <!-- Add class "current" to sub menu items also -->
					</ul>
				</li>
				<li> 
					<a href="#" class="nav-top-item<?php if(isset($list_current) && $list_current[0]=='guestbook') echo ' current' ?>"> <!-- Add the class "current" to current menu item -->
					留言管理
					</a>
					<ul>
						<li><?php echo anchor('sysadmin/guestbook', '管理', array('class'=>((isset($list_current)&& $list_current[1]=='guestbook') ? 'current' : '')));?></li> <!-- Add class "current" to sub menu items also -->
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item<?php if(isset($list_current) && $list_current[0]=='about') echo ' current' ?>">
						页面管理
					</a>
					<ul>
						<li><?php echo anchor('sysadmin/about', '管理', array('class'=>((isset($list_current)&& $list_current[1]=='about') ? 'current' : '')));?>
						
						</li>
					</ul>
				</li>
				<li>
					<a href="#" class="nav-top-item<?php if(isset($list_current) && $list_current[0]=='admins') echo ' current' ?>">
						管理员管理
					</a>
					<ul>
						<li>
						<li><?php echo anchor('sysadmin/admins/add', '添加', array('class'=>((isset($list_current)&& $list_current[1]=='admins_add') ? 'current' : '')));?>
						</li>
						<li>
						<?php echo anchor('sysadmin/admins', '列表', array('class'=>((isset($list_current)&& $list_current[1]=='admins_list') ? 'current' : '')));?>
						</li>
						<li><?php echo anchor('sysadmin/admins/loginlog', '登录列表', array('class'=>((isset($list_current)&& $list_current[1]=='admins_loginlog') ? 'current' : '')));?></li>
					</ul>
				</li>
				
				<!--<li>
					<a href="#" class="nav-top-item">
						Image Gallery
					</a>
					<ul>
						<li><a href="#">Upload Images</a></li>
						<li><a href="#">Manage Galleries</a></li>
						<li><a href="#">Manage Albums</a></li>
						<li><a href="#">Gallery Settings</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item">
						Events Calendar
					</a>
					<ul>
						<li><a href="#">Calendar Overview</a></li>
						<li><a href="#">Add a new Event</a></li>
						<li><a href="#">Calendar Settings</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item">
						Settings
					</a>
					<ul>
						<li><a href="#">General</a></li>
						<li><a href="#">Design</a></li>
						<li><a href="#">Your Profile</a></li>
						<li><a href="#">Users and Permissions</a></li>
					</ul>
				</li>      
				
			--></ul> <!-- End #main-nav -->
			
			<div id="messages" style="display: none"> <!-- Messages are shown when a link with these attributes are clicked: href="#messages" rel="modal"  -->
				
				<h3>3 Messages</h3>
			 
				<p>
					<strong>17th May 2009</strong> by Admin<br />
					Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue.
					<small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
				</p>
			 
				<p>
					<strong>2nd May 2009</strong> by Jane Doe<br />
					Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.
					<small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
				</p>
			 
				<p>
					<strong>25th April 2009</strong> by Admin<br />
					Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue.
					<small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
				</p>
				
				<form action="" method="post">
					
					<h4>New Message</h4>
					
					<fieldset>
						<textarea class="textarea" name="textfield" cols="79" rows="5"></textarea>
					</fieldset>
					
					<fieldset>
					
						<select name="dropdown" class="small-input">
							<option value="option1">Send to...</option>
							<option value="option2">Everyone</option>
							<option value="option3">Admin</option>
							<option value="option4">Jane Doe</option>
						</select>
						
						<input class="button" type="submit" value="Send" />
						
					</fieldset>
					
				</form>
				
			</div> <!-- End #messages -->
			
		</div></div> <!-- End #sidebar -->